package org.edith.shiro.service.impl;

import org.edith.shiro.dao.SysRoleMenuDAO;
import org.edith.shiro.service.SysRoleMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

/**
 *  角色与权限业务实现
 */
@Service("edithSysRoleMenuService")
public class SysRoleMenuServiceImpl implements SysRoleMenuService {
    @Autowired
    private SysRoleMenuDAO sysRoleMenuDAO;
    @PostConstruct
    private void createTable(){
        sysRoleMenuDAO.createTable();
    }
}